
#ifndef CLASSMATE_H
#define CLASSMATE_H

#include <BObject>

using namespace BWE;

class ClassRoom;

class ClassMate : public BObject
{
	BOBJECT(ClassMate)
public:
	ClassMate(const BString& name);
	~ClassMate();

	const BString& information() const;

	void setClassRoom(ClassRoom* classRoom);

	virtual bool input(const BString& text, const BValue& value);
	virtual bool query(const BString& text, BValue& value) const;

private:
	ClassRoom*		_classRoom;
	bool			_homework_done;
	int				_money;
	mutable BString	_information;
};

#endif
